The House on Thursday passed legislation that would pause the Obama administration's plan to take in at least 10,000 Syrian refugees over the next year.